#include "NetworkCommonFunction.h"

#include <QDebug>

bool DummyHandler(int socket, int commandLength)
{
	static const int bufferSize = 500 * 1024;
	static char* buffer = new char[bufferSize];
	qDebug()<<"Unknow command type";
	if(!receiveData(socket, buffer, commandLength))
	{
		qDebug()<<"Receive command error";
		return false;
	}
	return true;
}
